Changes to make sure input methods respect the editability of entries and
authorMatthias Clasen <maclas@gmx.de>
Mon, 30 Aug 2004 05:39:49 +0000 (05:39 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 30 Aug 2004 05:39:49 +0000 (05:39 +0000)
commit729aaa06e9a2fd19f87bba06746e346f0d5da5d8
tree409db5a3ee62028f93a1b215a512a0b08737f52b
parent26526ea581832a2839ff7cf8d6ba6a88bdadb974
Changes to make sure input methods respect the editability of entries and

Mon Aug 30 01:34:42 2004  Matthias Clasen  <maclas@gmx.de>

Changes to make sure input methods respect the editability
of entries and text views. #114173, Noah Levitt.

* gtk/gtkentry.c (popup_targets_received): Make the Input
Methods menuitem insensitive if we're not editable.

* gtk/gtkentry.c (gtk_entry_delete_surrounding_cb):
* gtk/gtkentry.c (gtk_entry_preedit_changed_cb):
* gtk/gtkentry.c (gtk_entry_commit_cb): Don't change anything
if we're not editable.

* gtk/gtkentry.c (gtk_entry_focus_out):
* gtk/gtkentry.c (gtk_entry_focus_in): Only send focus_in and
focus_out to the im context if we're editable.

* gtk/gtkentry.c (gtk_entry_set_property): Reset the im context
if the entry just became non-editable.

* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler):
Use gtk_text_buffer_delete_interactive() to not delete
non-editable portions of text.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkentry.c
gtk/gtktextview.c